package com.hzit.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

import lombok.*;
import sun.util.resources.cldr.ka.CalendarData_ka_GE;

/**
 * <p>
 * 
 * </p>
 *
 * @author hbxfwf
 * @since 2023-10-20
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Student implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "sid", type = IdType.AUTO)
    private Integer sid;

    private String sname;

    private String sex;

    private Integer age;

    private String addr;

    private Integer cid;

    private String birth;

    private Integer deleted;


    private Date createTime;

    private Date updateTime;

    private Integer version;

    public Student(Integer sid, String sname, String sex, Integer age, String addr, Integer cid, String birth,  Date createTime, Date updateTime) {
        this.sid = sid;
        this.sname = sname;
        this.sex = sex;
        this.age = age;
        this.addr = addr;
        this.cid = cid;
        this.birth = birth;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }
}
